#include <stdio.h>
#include "prime_enum.h"

int main() 
{
    int count = 0;
    int num1 = 0;
    int num2 = 0;
   
    while (1)
    {
        printf("Please input num1\n");
        scanf("%d", &num1);
        printf("Please input num2\n");
        scanf("%d", &num2);
        
        count = count_primes(num1, num2);
        if(count >= 0)
        {
            break;
    	}

    } 
    printf("%d\n",count);
    return 0;
}
